<!DOCTYPE html>
<!--
/*
 * JavaScript MD5 Demo
 * https://github.com/blueimp/JavaScript-MD5
 *
 * Copyright 2011, Sebastian Tschan
 * https://blueimp.net
 *
 * Licensed under the MIT license:
 * https://opensource.org/licenses/MIT
 */
-->
<html lang="en">

<head>

  <meta charset="utf-8" />
  <title>JavaScript MD5 Demo</title>
  <meta name="description"
    content="JavaScript MD5 implementation. Compatible with server-side environments like Node.js, module loaders like RequireJS, Browserify or webpack and all web browsers." />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link rel="stylesheet" href="css/MD5_.css" />
</head>

<body>
  <div class="container">
    <h1>JavaScript MD5</h1>

    <script src="js/md5.js"></script>
    <form>
      <p>
        <label for="input">输入</label>
        <textarea rows="6" id="input"></textarea>
      </p>
      <p>
        <button type="submit" id="calculate" onclick="result.value=md5(input.value);return false">
          MD5加密
        </button>
        <button type="reset" id="reset">清空文本</button>
      </p>
      <p>
        <label for="result">结果</label>
        <input id="result" readonly />
      </p>
    </form>

  </div>

</body>

</html>